package com.example.iceman.stepcounterapp;

/**
 * Created by iceman on 16/2/15.
 */
public interface StepChangeListener {
    /**
     * 每走一步都会触发
     *
     * @param orientation 当前行走的方向，范围是0～360，0为正北，可通过getOrientationString转化为简单的方向字符串
     * @see StepCounter#getOrientationString
     */
    void onStep(int orientation);

    void onLog(String log);
}
